#include "DblLinkList.cpp"

int main()
{
	DblLinkList<int> dblobj;

	dblobj.ListInsert(1, 12);
	dblobj.ListInsert(1, 24);
	dblobj.ListInsert(3, 48);
	dblobj.ListInsert(2, 100);
	dblobj.DispList();

	dblobj.ListDelete(4);
	dblobj.ListDelete(2);
	dblobj.DispList();

	int val;
	dblobj.GetElem(1, val);
	cout << val << endl;
	dblobj.GetElem(2, val);
	cout << val << endl;

	return 0;
}